import { listUnusuals } from '@/api/transfer'
export default {
  hasPage: true,
  request: (params) => {
    return listUnusuals(params)
  },
  dataParse: (res) => {
    const resData = res.data.data
    const data = {
      list: resData.rows,
      total: resData.total
    }
    return data
  },
  columns: [
    {
      prop: 'userName',
      label: '提交人',
    },
    {
      prop: 'xmbzNo',
      label: '后台单号',
    },
    {
      prop: 'cityName',
      label: '城市',
    },
    {
      prop: 'operator',
      label: '审核人',
    },
    {
      prop: 'goodsName',
      label: '商品名称',
    },
    {
      prop: 'abnormalContent',
      label: '异常信息',
    },
    {
      prop: 'processingResults',
      label: '审核信息',
    },
    {
      prop: 'createTime',
      label: '创建时间',
    },
    {
      prop: 'status',
      label: '审核状态',
      isSlot: true,
    },
    {
      prop: 'operate',
      label: '操作',
      isSlot: true,
    }
  ]
}
